package com.itfreer.bpm.history.service;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.bpm.history.entity.BpmHistoryEntity;
import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

/**
 * 办理过程接口
 * 
 * @author gj
 *
 */
@Component
@Path("/bpmhistory/")
public class RestBpmHistoryService extends BaseRestService<BpmHistoryEntity> {

	@Autowired
	private IBpmHistoryService BpmHistoryService;

	@Override
	protected BaseService<BpmHistoryEntity> getService() {
		return BpmHistoryService;
	}

	@Override
	protected String getServiceName() {
		return "bpmhistory";
	}
}
